package com.lin.spring.aop;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @ClassName Loggint
 * @Description logging
 * @Author lin
 * @Date 2021/11/7 下午11:13
 * @Version V1.0
 */
@Component
public class Logging {
    public void logging(){
        System.out.println("这是一个通用的日志功能呢～～～～～～～");
    }
    public void thException(Exception e){
        System.out.println("错误信息："+e.getMessage());
    }
}
